extends "../dujiaoshou-1/dujiaoshou-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("每{cd}秒恢复血量最低的友军单位[航空*2.5]的血量，并随机驱散掉一种负面效果", "应援", "dujiaoshou2", 5)
var p2 = 1
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "dujiaoshou2":
		dujiaoshou2()

func dujiaoshou2():
	var cha = getFirstCha(2, "sortByHp")
	if cha != null:
		healCha(cha, att.air*2.5*p2)
		weakDispel(cha, true, 1)
	return cha
